{% extends "grading/base.html" %}
{% block title %} View Your Grades {%endblock title %}

{% block content %}
<table>
    <tr>
        <th>Assignment</th>
        <th>Grade</th>
    </tr>
    {% for grade in grades %}
    <tr>
        <td>
            <a href="{% url grading.views.viewgrade grade.assignment.pk %}">
                {{grade.assignment.name}}</a></td>
        <td>{{grade.finalGrade}}</td>
    </tr>
    {% endfor %}
</table>
{% endblock %}
